//
//  ZTAirChartView.h
//  YSSmartHome
//
//  Created by yanghao on 2017/4/6.
//  Copyright © 2017年 yahaong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AirHistoryModel.h"
#import "PNChart.h"


typedef NSString*_Nullable(^YLabelBlockFormatter)(CGFloat);
@interface ZTAirChartView : UIView
@property (nullable,nonatomic, copy) NSString* title;
@property (nullable, nonatomic, strong) UIImage* topBackgroundImage;
@property (nullable, nonatomic, strong) NSArray* xlables;
@property (nullable,nonatomic, copy)  NSString* _Nullable (^yLabelBlockFormatter)(CGFloat);
- (instancetype _Nullable )initWithXlabels:(NSArray*__nonnull)labes block:(YLabelBlockFormatter _Nullable )yLabelBlockFormatter;
@end
